{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Sergey Pozhilov (GetTemplate.com)">

    <title>Contact us - Progressus Bootstrap template</title>

    <link rel="shortcut icon" href="{% static 'maintenance/images/logo.png' %}">

    <link rel="stylesheet" media="screen" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
    <link rel="stylesheet" href="{% static 'maintenance/css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'maintenance/css/font-awesome.min.css' %}">

    <!-- Custom styles for our template -->
    <link rel="stylesheet" href="{% static 'maintenance/css/bootstrap-theme.css' %}" media="screen">
    <link rel="stylesheet" href="{% static 'maintenance/css/main.css' %}">
    <link rel="stylesheet" href="{% static 'maintenance/plugins/bootstrap-3.4.1/css/bootstrap.min.css' %}">
    <link rel="stylesheet"
          href="{% static 'maintenance/plugins/bootstrap-datepicker/css/bootstrap-datepicker.min.css' %}">


    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="{% static 'maintenance/js/html5shiv.js' %}"></script>
    <script src="{% static 'maintenance/js/respond.min.js' %}"></script>
    <![endif]-->
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        ul {
            list-style: none;
        }

        #nav {
            height: 50px;
            background-color: #46474a;
        }

        #nav ul li {
            width: 120px;
            float: left;
        }

        #nav ul li a {
            display: block;
            width: 120px;
            height: 50px;
            line-height: 50px;
            text-decoration: none;
            font-size: 18px;
            /* font-weight: bold; */
            color: white;
            text-align: center;
        }

        #nav ul li a:hover {
            background-color: white;
            color: #46474a;
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            padding: 12px 16px;
            z-index: 1;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

    </style>
    <style type="text/css">
        li.margin {
            margin-left: 50px;
        }
    </style>
</head>

<body>
<div id="nav">
    <ul>
        <li class="margin"><img src="/static/images/logo.png" style="width: 87.4px;height: 50px;"></li>
        <li><a href="{% url 'purchase_index' %}">购物商城</a></li>
        <li><a href="/moment/">车友圈</a></li>
        <li><a href="/view_power/">充电规划</a></li>
        <li><a href="/chatbot/botmain/">智能客服</a></li>
        <li><a href="/repair/">维修保养</a></li>
        {% if "info" in request.session.keys %}

        <li class="dropdown">
            <a href="#">
                我的</a>
            <div class="dropdown-content">
                <a href="{% url 'show_order' %}" style="color: #46474a;font-size: 17px;">购物订单</a>
                <a href="/repair/list/" style="color: #46474a;font-size: 17px;">维修订单</a>
                <a href="/infomation/" style="color: #46474a;font-size: 17px;">个人信息</a>
                <a href="/signout/" style="color: #46474a;font-size: 17px;">注销</a>
            </div>
        </li>

        {% else %}
        <li><a href="/signin/">登录 / 注册</a></li>
        {% endif %}
    </ul>
</div>


<!-- container -->
<div class="container">

    <ol class="breadcrumb">
        <li><a href="/index/">主页</a></li>
        <li><a href="/repair/">维修保养服务</a></li>
        <li class="active">预约</li>

    </ol>

    <div class="row">

        <!-- Article main content -->
        <article class="col-sm-9 maincontent">
            <header class="page-header">
                <h1 class="page-title">预约维修保养</h1>
            </header>

            <p>
                我们将第一时间安排客服人员与您联系，帮助您获得更好的预约体验
            </p>
            <br>
            <form class="col-sm-8" method="post" novalidate>
                {% csrf_token %}

                {% for field in form %}
                <div class="top-margin">
                    <label style="width:80px;">{{ field.label }}</label>
                    {{ field }}
                    <span style="color: red;">{{ field.errors.0 }}</span>
                </div>
                {% endfor %}
                <br>
                <button type="submit" id="SubmitButtom" class="btn btn-primary" style="float: right">提 交</button>
            </form>


        </article>
        <!-- /Article -->

        <!-- Sidebar -->
        <aside class="col-sm-3 sidebar sidebar-right">

            <div class="widget">
                <h4>Address</h4>
                <address>
                    北京市海淀区学院路37号
                </address>
                <h4>Phone:</h4>
                <address>
                    (713) 791-1414
                </address>
            </div>

        </aside>
        <!-- /Sidebar -->

    </div>
</div>    <!-- /container -->

<section class="container-full top-space">
</section>

<footer id="footer" class="top-space">

    <div class="footer1">
        <div class="container">
            <div class="row">

                <div class="col-md-3 widget">
                    <h3 class="widget-title">Contact</h3>
                    <div class="widget-body">
                        <p>+234 23 9873237<br>
                            <a href="mailto:#">wwzy_000@163.com</a><br>
                            <br>
                            北京市海淀区学院路37号
                        </p>
                    </div>
                </div>

                <div class="col-md-3 widget">
                    <h3 class="widget-title">Follow me</h3>
                    <div class="widget-body">
                        <p class="follow-me-icons clearfix">
                            <a href=""><i class="fa fa-twitter fa-2"></i></a>
                            <a href=""><i class="fa fa-dribbble fa-2"></i></a>
                            <a href=""><i class="fa fa-github fa-2"></i></a>
                            <a href=""><i class="fa fa-facebook fa-2"></i></a>
                        </p>
                    </div>
                </div>

                <div class="col-md-6 widget">
                    <h3 class="widget-title">Text widget</h3>
                    <div class="widget-body">
                        <p>
                            销售<br>
                            购买或咨询：400 919 0707</p>
                        <p>客户服务与道路救援<br>
                            24小时服务热线：400 910 0707</p>
                    </div>
                </div>

            </div> <!-- /row of widgets -->
        </div>
    </div>

    <div class="footer2">
        <div class="container">
            <div class="row">

                <div class="col-md-6 widget">
                    <div class="widget-body">
                        <p class="simplenav">
                            <a href="/index/">主页</a> |
                            <a href="/purchase/">购物商场</a> |
                            <a href="/moment/">车友圈</a> |
                            <a href="#">充电规划</a> |
                            <a href="/chatbot/botmain/">智能客服</a> |
                            <a href="/repair/">维修保养</a>
                        </p>
                    </div>
                </div>

                <div class="col-md-6 widget">
                    <div class="widget-body">
                        <p class="text-right">
                            Copyright &copy; 2016 信息系统高级分析师群 All Rights Reserved
                        </p>
                    </div>
                </div>

            </div> <!-- /row of widgets -->
        </div>
    </div>
</footer>


<script src="{% static 'maintenance/js/jquery-3.6.0.min.js' %}"></script>
<script src="{% static 'maintenance/plugins/bootstrap-3.4.1/js/bootstrap.min.js' %}"></script>

<script src="{% static 'maintenance/js/headroom.min.js' %}"></script>
<script src="{% static 'maintenance/js/jQuery.headroom.min.js' %}"></script>
<script src="{% static 'maintenance/js/template.js' %}"></script>

<script src="{% static 'maintenance/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js' %}"></script>
<script src="{% static 'maintenance/plugins/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js' %}"></script>

<script>
    $(function () {
        $('#id_date').datepicker({
            format: 'yyyy-mm-dd',
            startDate: '0',
            language: "zh-CN",
            autoclose: true
        });

    })
</script>

</body>
</html>